<template>
	<view>
		<view class="payWrap">
			<text class='title'>{{title}}</text>
			<text class='desc'>{{desc}}</text>
			<text class='icon' @tap="handleClick">...</text>
		</view>
	</view>
</template>

<script>
	export default {
		name:"infocell",
		data() {
			return {
				
			};
		},
		props:{
			title: {
				type: String,
				value: ''
			},
			desc:{
				type: String,
				value: ''
			}
		},
		methods:{
			handleClick(){
				this.$emit('popView')
			}
		}
	}
</script>

<style>
	
	.payWrap{
		background-color: white;
		padding: 30upx 20upx;
		border-top: 2upx solid #e8e8ed;
		border-bottom: 2upx solid #e8e8ed;
		font-size: 28upx;
		display: flex;
		justify-content: space-between;
	}
	.title{
		display: inline-block;
		width: 10%;
		color: #999;
	}
	.desc{
		display: inline-block;
		width: 80%;
	}
	.icon{
		display: inline-block;
		width: 10%;
		font-weight: 700;
		text-align: right;
	}

</style>